package com.three.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_store_evaluate
 */
@TableName(value ="tb_store_evaluate")
@Data
public class StoreEvaluate implements Serializable {

    @TableId
    private Integer evaluateId;

    private Integer storeId;

    private String userId;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date evaluateTime;

    private String picture;

    private Integer star;

    private FrontUser frontUser;

    private Double averageStar;

    private Store store;

    private static final long serialVersionUID = 1L;
}